﻿<%@ Page validateRequest="false" PathInChannel="video.aspx" RunAt="Execute" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<%=MetaKeywords%>" />
<meta name="description" content="<%=MetaDescription%>" />
<title><%=Request.QueryString["q"]%> - 视频搜索 - <%=Channel[Name]%> - <%=Site[Name]%></title>
<ali:Comment><link rel="stylesheet" type="text/css" href="S01/CHS/css/common.css" /></ali:Comment>
<link rel="stylesheet" type="text/css" href="<%=CssPath%>common.css" />
<script type="text/javascript">
var _page = "video";
var _webPath = "<%=WebPath%>";
</script>
</head>
<body>
<h2><a href="<%=BuildUrl("web")%>?q=<%=Server.UrlEncode(Request.QueryString["q"])%>">网页</a> | <a href="<%=BuildUrl("image")%>?q=<%=Server.UrlEncode(Request.QueryString["q"])%>">图片</a> | <a href="<%=BuildUrl("music")%>?q=<%=Server.UrlEncode(Request.QueryString["q"])%>">音乐</a> | <a>视频</a></h2>
<form action="">
	<img src="<%=ImagePath%>logo_small.jpg" alt="logo" /><input type="text" name="q" value="<%=HttpUtility.HtmlAttributeEncode(Request.QueryString["q"])%>" size="50" class="<%=PageLang%>Font" /><input type="submit" value="搜 索" />
</form>
<dl>
	<dt><b>视频</b></dt>
	<dd>约有 <b id="RecordCount1"></b> 项符合 <b><%=Request.QueryString["q"]%></b> 的查询结果</dd>
</dl>

<ali:List ID="List" Object="Video" Page="PageNumber" PageSize="20" Condition="Request.QueryString['q']">
	<ali:Row MaxCol="1">
		<ul>
			<ali:Col MaxRecord="5">
				<ali:Record>
					<li>
						<a href="<%=URL%>" target="_blank"><img src="<%=Thumbnail%>" alt="<%=HttpUtility.HtmlAttributeEncode(Convert.ToString(Title))%>" /></a><br />
						<a href="<%=URL%>" target="_blank"><%=Title%></a><br />
						<%=Source%>
						<p><%=Time%></p>
					</li>
				</ali:Record>
			</ali:Col>
		</ul>
	</ali:Row>
</ali:List>
		
<!-- TemplateBeginEditable name="分页" -->
<ali:Pagination Page="PageNumber" PageSize="20" RecordCount="List[RecordCount]">
	<div class="Pagination">
		共有<span id="RecordCount2"><%=RecordCount%></span>项<br />
		<ali:FirstPage>
			<ali:No>
				<a href="<%=PreviousPage%>" id="PrevPage">上一页</a>
			</ali:No>
		</ali:FirstPage>
		<ali:CurrentPage Range="5">
			<ali:Yes>
				<span><%=Index%></span>						
			</ali:Yes>
			<ali:No>
				<a href="<%=URL%>"><%=Index%></a>
			</ali:No>
		</ali:CurrentPage>
		<ali:LastPage>
			<ali:No>
				<a href="<%=NextPage%>" id="NextPage">下一页</a>
			</ali:No>
		</ali:LastPage>
	</div>
</ali:Pagination>
<!-- TemplateEndEditable -->

<div class="Footer">
	<!-- TemplateBeginEditable name="脚注菜单" -->
	<ali:Menu Condition="IsDisplay=true and CategoryID={BAC035A8-F6BB-4772-8D51-A7F4F3AB7AD3}">
		<ali:Record>
			<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><%=Name%></a>
			<ali:Separator>|</ali:Separator>
		</ali:Record>
		<hr size="1" />
	</ali:Menu>
	<!-- TemplateEndEditable -->

	<%=Footer%>
</div>

<script type="text/javascript" src="<%=CommonPath%>jquery/core.js"></script>
<%If PageLang == "UYG" || PageLang == "KZA" || PageLang == "KGA"%>
	<script type="text/javascript" src="<%=CommonPath%>IlgharIme.js"></script>
<%EndIf%>
<script type="text/javascript" src="<%=JsPath%>common.js"></script>
<%=StatisticsCode%>
</body>
</html>
